<style >
*{
  margin: 0 ;
  padding: 0;
}
body{
  background-color: #DCDFE6;
  font-size: 14px;
  font-family: '微软雅黑';
  /* background: url('./assets/logo.png'); */
}
#nprogress .bar {
 background: #ff0000 !important; 
 height: 5px !important; 
 }
</style>
<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
  export default {
    created(){
      this.$http.get('/type').then((data)=>{
        if(!data.data.code){
          this.$store.commit('base/setTypeList',data.data.data);
        }
      })
    }
  }
</script>